package com.dao;

import java.util.List;

public interface BaseBusinessDao <T>{

    public boolean add(T obj);

    public T queryById(String id);

    public List<T> queryAll();

    public boolean update(T obj);

    public void delete (String id) throws Exception;

    //批量新增
    public void addBatch(List<T> objs) throws Exception;
}
